.class public final Lf;
.super Ljava/lang/Object;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lu;,
        LI;
    }
.end annotation


# static fields
.field public static Code:B

.field public static a:[I

.field private static b:I

.field private static c:I

.field private static d:Z

.field private static l:[B

.field private static m:[B

.field private static n:B

.field private static o:B


# instance fields
.field public B:[B

.field public C:LI;

.field public I:B

.field public J:[B

.field public Z:I

.field private e:I

.field private f:[B

.field private g:[B

.field private h:[I

.field private i:I

.field private j:[LI;

.field private k:I


# direct methods
.method public static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>(Z)V
    .locals 12
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v10, 0x0

    const/16 v9, 0xff

    const/4 v8, 0x7

    const/4 v7, 0x4

    const/4 v2, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    sget-object v0, Lf;->l:[B

    if-nez v0, :cond_4

    const/4 v0, 0x0

    :try_start_0
    invoke-static {v0}, Ln;->e(I)Ljava/io/DataInputStream;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    move-result-object v0

    :try_start_1
    invoke-virtual {v0}, Ljava/io/DataInputStream;->readByte()B

    move-result v1

    if-lez v1, :cond_0

    const/4 v1, 0x1

    :goto_0
    sput-boolean v1, Lf;->d:Z

    sget-boolean v1, Lf;->d:Z

    if-eqz v1, :cond_1

    const/16 v1, 0x12b

    sput v1, Lf;->b:I

    const/16 v1, 0xe

    sput v1, Lf;->c:I

    :goto_1
    sget v1, Lf;->b:I

    new-array v1, v1, [B

    sget v3, Lf;->b:I

    new-array v3, v3, [B

    invoke-virtual {v0}, Ljava/io/DataInputStream;->readByte()B

    move-result v4

    sput-byte v4, Lf;->n:B

    move v4, v2

    move v5, v2

    :goto_2
    sget v6, Lf;->b:I

    if-ge v4, v6, :cond_2

    invoke-virtual {v0}, Ljava/io/DataInputStream;->readByte()B

    move-result v6

    add-int/2addr v5, v6

    int-to-short v5, v5

    int-to-byte v6, v5

    aput-byte v6, v1, v4

    add-int/lit8 v4, v4, 0x1

    goto :goto_2

    :cond_0
    move v1, v2

    goto :goto_0

    :cond_1
    const/16 v1, 0xe1

    sput v1, Lf;->b:I

    const/16 v1, 0xa

    sput v1, Lf;->c:I
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_1

    :catchall_0
    move-exception v1

    move-object v11, v1

    move-object v1, v0

    move-object v0, v11

    :goto_3
    invoke-static {v1}, Ln;->Code(Ljava/lang/Object;)V

    throw v0

    :cond_2
    :try_start_2
    invoke-virtual {v0}, Ljava/io/DataInputStream;->readByte()B

    move-result v4

    sput-byte v4, Lf;->o:B

    move v4, v2

    :goto_4
    sget v5, Lf;->b:I

    if-ge v4, v5, :cond_3

    aget-byte v5, v1, v4

    invoke-virtual {v0}, Ljava/io/DataInputStream;->readByte()B

    move-result v6

    add-int/2addr v5, v6

    int-to-byte v5, v5

    aput-byte v5, v3, v4
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    add-int/lit8 v4, v4, 0x1

    goto :goto_4

    :cond_3
    sput-object v1, Lf;->l:[B

    sput-object v3, Lf;->m:[B

    invoke-static {v0}, Ln;->Code(Ljava/lang/Object;)V

    :cond_4
    if-eqz p1, :cond_5

    invoke-static {v7}, Ln;->c(I)Ljavax/microedition/lcdui/Image;

    move-result-object v0

    sget-object v1, Lf;->m:[B

    iput-object v1, p0, Lf;->J:[B

    iput-byte v2, p0, Lf;->I:B

    sget-byte v1, Lf;->o:B

    sput-byte v1, Lf;->Code:B

    iput v7, p0, Lf;->i:I

    :goto_5
    if-nez v0, :cond_6

    :goto_6
    return-void

    :cond_5
    const/4 v0, 0x5

    invoke-static {v0}, Ln;->c(I)Ljavax/microedition/lcdui/Image;

    move-result-object v0

    sget-object v1, Lf;->l:[B

    iput-object v1, p0, Lf;->J:[B

    iput-byte v2, p0, Lf;->I:B

    sget-byte v1, Lf;->n:B

    sput-byte v1, Lf;->Code:B

    iput v8, p0, Lf;->i:I

    goto :goto_5

    :cond_6
    invoke-virtual {v0}, Ljavax/microedition/lcdui/Image;->getWidth()I

    move-result v1

    iput v1, p0, Lf;->Z:I

    invoke-virtual {v0}, Ljavax/microedition/lcdui/Image;->getHeight()I

    move-result v1

    iput v1, p0, Lf;->e:I

    iget v1, p0, Lf;->i:I

    new-array v1, v1, [LI;

    iput-object v1, p0, Lf;->j:[LI;

    move v1, v2

    :goto_7
    iget v3, p0, Lf;->i:I

    if-ge v1, v3, :cond_7

    iget-object v3, p0, Lf;->j:[LI;

    new-instance v4, LI;

    invoke-direct {v4, v10}, LI;-><init>(Lu;)V

    aput-object v4, v3, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_7

    :cond_7
    iput v2, p0, Lf;->k:I

    iget v1, p0, Lf;->Z:I

    iget v3, p0, Lf;->e:I

    mul-int/2addr v1, v3

    new-array v1, v1, [I

    iget v3, p0, Lf;->Z:I

    iget v6, p0, Lf;->Z:I

    iget v7, p0, Lf;->e:I

    move v4, v2

    move v5, v2

    invoke-virtual/range {v0 .. v7}, Ljavax/microedition/lcdui/Image;->getRGB([IIIIIII)V

    iget v0, p0, Lf;->Z:I

    iget v3, p0, Lf;->e:I

    mul-int/2addr v0, v3

    new-array v0, v0, [B

    iput-object v0, p0, Lf;->B:[B

    const/16 v0, 0x8

    new-array v0, v0, [I

    iput-object v0, p0, Lf;->h:[I

    array-length v0, v1

    move v3, v2

    :goto_8
    if-ge v3, v0, :cond_8

    iget-object v4, p0, Lf;->B:[B

    aget v5, v1, v3

    and-int/lit16 v5, v5, 0xff

    shr-int/lit8 v5, v5, 0x5

    sub-int v5, v8, v5

    int-to-byte v5, v5

    aput-byte v5, v4, v3

    iget-object v4, p0, Lf;->h:[I

    iget-object v5, p0, Lf;->B:[B

    aget-byte v5, v5, v3

    aget v6, v1, v3

    and-int/lit16 v6, v6, 0xff

    sub-int v6, v9, v6

    aput v6, v4, v5

    add-int/lit8 v3, v3, 0x1

    goto :goto_8

    :cond_8
    iget-object v0, p0, Lf;->h:[I

    aput v2, v0, v2

    sget-boolean v0, Ln;->q:Z

    if-nez v0, :cond_a

    move v0, v2

    :goto_9
    iget-object v1, p0, Lf;->h:[I

    array-length v1, v1

    if-ge v0, v1, :cond_a

    iget-object v1, p0, Lf;->h:[I

    const/4 v3, 0x3

    if-ge v0, v3, :cond_9

    move v3, v2

    :goto_a
    aput v3, v1, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_9

    :cond_9
    move v3, v9

    goto :goto_a

    :cond_a
    sget v0, Lf;->b:I

    new-array v0, v0, [B

    iput-object v0, p0, Lf;->f:[B

    sget v0, Lf;->b:I

    new-array v0, v0, [B

    iput-object v0, p0, Lf;->g:[B

    move v0, v2

    move v1, v2

    move v3, v2

    :goto_b
    sget v4, Lf;->b:I

    if-ge v0, v4, :cond_c

    iget-object v4, p0, Lf;->J:[B

    aget-byte v4, v4, v0

    add-int/2addr v4, v3

    iget v5, p0, Lf;->Z:I

    if-lt v4, v5, :cond_b

    add-int/lit8 v1, v1, 0x1

    int-to-byte v1, v1

    move v3, v2

    :cond_b
    iget-object v4, p0, Lf;->f:[B

    aput-byte v3, v4, v0

    iget-object v4, p0, Lf;->g:[B

    aput-byte v1, v4, v0

    iget-object v4, p0, Lf;->J:[B

    aget-byte v4, v4, v0

    add-int/2addr v3, v4

    int-to-byte v3, v3

    add-int/lit8 v0, v0, 0x1

    goto :goto_b

    :cond_c
    iget-object v0, p0, Lf;->J:[B

    aget-byte v1, v0, v2

    iget-byte v3, p0, Lf;->I:B

    sub-int/2addr v1, v3

    int-to-byte v1, v1

    aput-byte v1, v0, v2

    goto/16 :goto_6

    :catchall_1
    move-exception v0

    move-object v1, v10

    goto/16 :goto_3
.end method

.method private Code(Ljavax/microedition/lcdui/Graphics;CII)I
    .locals 11

    const/4 v3, 0x0

    invoke-static {p2}, Lf;->I(C)C

    move-result v10

    if-eqz v10, :cond_2

    iget-object v0, p0, Lf;->g:[B

    aget-byte v0, v0, v10

    iget-object v1, p0, Lf;->C:LI;

    iget-object v1, v1, LI;->Z:[Ljavax/microedition/lcdui/Image;

    aget-object v1, v1, v0

    if-nez v1, :cond_1

    sget-byte v1, Lf;->Code:B

    iget v2, p0, Lf;->Z:I

    mul-int/2addr v1, v2

    mul-int v2, v0, v1

    move v4, v3

    :goto_0
    if-ge v4, v1, :cond_0

    sget-object v5, Lf;->a:[I

    iget-object v6, p0, Lf;->C:LI;

    iget-object v6, v6, LI;->I:[I

    iget-object v7, p0, Lf;->B:[B

    add-int v8, v4, v2

    aget-byte v7, v7, v8

    aget v6, v6, v7

    aput v6, v5, v4

    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    :cond_0
    iget-object v1, p0, Lf;->C:LI;

    iget-object v1, v1, LI;->Z:[Ljavax/microedition/lcdui/Image;

    sget-object v2, Lf;->a:[I

    iget v4, p0, Lf;->Z:I

    sget-byte v5, Lf;->Code:B

    const/4 v6, 0x1

    invoke-static {v2, v4, v5, v6}, Ljavax/microedition/lcdui/Image;->createRGBImage([IIIZ)Ljavax/microedition/lcdui/Image;

    move-result-object v2

    aput-object v2, v1, v0

    :cond_1
    iget-object v1, p0, Lf;->C:LI;

    iget-object v1, v1, LI;->Z:[Ljavax/microedition/lcdui/Image;

    aget-object v1, v1, v0

    iget-object v0, p0, Lf;->f:[B

    aget-byte v2, v0, v10

    iget-object v0, p0, Lf;->J:[B

    aget-byte v4, v0, v10

    sget-byte v5, Lf;->Code:B

    move-object v0, p1

    move v6, v3

    move v7, p3

    move v8, p4

    move v9, v3

    invoke-virtual/range {v0 .. v9}, Ljavax/microedition/lcdui/Graphics;->drawRegion(Ljavax/microedition/lcdui/Image;IIIIIIII)V

    :cond_2
    iget-object v0, p0, Lf;->J:[B

    aget-byte v0, v0, v10

    iget-byte v1, p0, Lf;->I:B

    add-int/2addr v0, v1

    return v0
.end method

.method public static final Code()S
    .locals 1

    sget-byte v0, Lf;->Code:B

    int-to-short v0, v0

    return v0
.end method

.method private Code(I)V
    .locals 5

    const/16 v4, 0x8

    const/4 v3, 0x0

    iget-object v0, p0, Lf;->C:LI;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lf;->C:LI;

    iget-object v0, v0, LI;->Z:[Ljavax/microedition/lcdui/Image;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lf;->C:LI;

    iget v0, v0, LI;->Code:I

    if-ne v0, p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    move v0, v3

    :goto_1
    iget v1, p0, Lf;->i:I

    if-ge v0, v1, :cond_3

    iget-object v1, p0, Lf;->j:[LI;

    aget-object v1, v1, v0

    iget v1, v1, LI;->Code:I

    if-ne p1, v1, :cond_2

    iget-object v1, p0, Lf;->j:[LI;

    aget-object v1, v1, v0

    iget-object v1, v1, LI;->Z:[Ljavax/microedition/lcdui/Image;

    if-eqz v1, :cond_2

    iget-object v1, p0, Lf;->j:[LI;

    aget-object v0, v1, v0

    iput-object v0, p0, Lf;->C:LI;

    goto :goto_0

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_3
    iget v0, p0, Lf;->k:I

    add-int/lit8 v0, v0, 0x1

    iget v1, p0, Lf;->i:I

    rem-int/2addr v0, v1

    iput v0, p0, Lf;->k:I

    iget-object v0, p0, Lf;->j:[LI;

    iget v1, p0, Lf;->k:I

    aget-object v0, v0, v1

    iput-object v0, p0, Lf;->C:LI;

    iget-object v0, p0, Lf;->C:LI;

    sget v1, Lf;->c:I

    new-array v1, v1, [Ljavax/microedition/lcdui/Image;

    iput-object v1, v0, LI;->Z:[Ljavax/microedition/lcdui/Image;

    sget-object v0, Lf;->a:[I

    if-eqz v0, :cond_4

    sget-object v0, Lf;->a:[I

    array-length v0, v0

    iget v1, p0, Lf;->Z:I

    sget-byte v2, Lf;->Code:B

    mul-int/2addr v1, v2

    if-ge v0, v1, :cond_5

    :cond_4
    iget v0, p0, Lf;->Z:I

    sget-byte v1, Lf;->Code:B

    mul-int/2addr v0, v1

    new-array v0, v0, [I

    sput-object v0, Lf;->a:[I

    :cond_5
    iget-object v0, p0, Lf;->C:LI;

    iput p1, v0, LI;->Code:I

    iget-object v0, p0, Lf;->C:LI;

    new-array v1, v4, [I

    iput-object v1, v0, LI;->I:[I

    move v0, v3

    :goto_2
    if-ge v0, v4, :cond_0

    iget-object v1, p0, Lf;->C:LI;

    iget-object v1, v1, LI;->I:[I

    iget-object v2, p0, Lf;->h:[I

    aget v2, v2, v0

    shl-int/lit8 v2, v2, 0x18

    const v3, 0xffffff

    and-int/2addr v3, p1

    or-int/2addr v2, v3

    aput v2, v1, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_2
.end method

.method private static I(C)C
    .locals 2

    const/16 v1, 0x20

    if-lt p0, v1, :cond_0

    const/16 v0, 0xff

    if-gt p0, v0, :cond_0

    sub-int v0, p0, v1

    int-to-char v0, v0

    :goto_0
    return v0

    :cond_0
    const/16 v0, 0x410

    if-lt p0, v0, :cond_1

    const/16 v0, 0x44f

    if-gt p0, v0, :cond_1

    sget-boolean v0, Lf;->d:Z

    if-eqz v0, :cond_1

    const/16 v0, 0x330

    sub-int v0, p0, v0

    int-to-char v0, v0

    goto :goto_0

    :cond_1
    sget-boolean v0, Lf;->d:Z

    if-eqz v0, :cond_2

    sparse-switch p0, :sswitch_data_0

    :cond_2
    sparse-switch p0, :sswitch_data_1

    sget v0, Lf;->b:I

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    int-to-char v0, v0

    goto :goto_0

    :sswitch_0
    const/16 v0, 0x120

    goto :goto_0

    :sswitch_1
    const/16 v0, 0x121

    goto :goto_0

    :sswitch_2
    const/16 v0, 0x122

    goto :goto_0

    :sswitch_3
    const/16 v0, 0x123

    goto :goto_0

    :sswitch_4
    const/16 v0, 0x124

    goto :goto_0

    :sswitch_5
    const/16 v0, 0x125

    goto :goto_0

    :sswitch_6
    const/16 v0, 0x126

    goto :goto_0

    :sswitch_7
    const/16 v0, 0x127

    goto :goto_0

    :sswitch_8
    const/16 v0, 0x128

    goto :goto_0

    :sswitch_9
    const/16 v0, 0x129

    goto :goto_0

    :sswitch_a
    const/16 v0, 0x75

    goto :goto_0

    :sswitch_b
    const/16 v0, 0x76

    goto :goto_0

    :sswitch_c
    const/16 v0, 0x65

    goto :goto_0

    :sswitch_d
    const/16 v0, 0x66

    goto :goto_0

    :sswitch_e
    const/16 v0, 0x67

    goto :goto_0

    :sswitch_f
    const/16 v0, 0x68

    goto :goto_0

    :sswitch_10
    const/16 v0, 0x69

    goto :goto_0

    :sswitch_11
    const/16 v0, 0x6a

    goto :goto_0

    :sswitch_12
    const/16 v0, 0x74

    goto :goto_0

    :sswitch_13
    const/16 v0, 0x77

    goto :goto_0

    :sswitch_14
    const/16 v0, 0x73

    goto :goto_0

    :sswitch_15
    const/16 v0, 0x71

    goto :goto_0

    :sswitch_16
    const/16 v0, 0x72

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x401 -> :sswitch_0
        0x406 -> :sswitch_8
        0x407 -> :sswitch_2
        0x40e -> :sswitch_4
        0x451 -> :sswitch_1
        0x456 -> :sswitch_9
        0x457 -> :sswitch_3
        0x45e -> :sswitch_5
        0x491 -> :sswitch_6
        0x492 -> :sswitch_7
    .end sparse-switch

    :sswitch_data_1
    .sparse-switch
        0x2013 -> :sswitch_b
        0x2014 -> :sswitch_13
        0x2018 -> :sswitch_15
        0x2019 -> :sswitch_16
        0x201c -> :sswitch_14
        0x201d -> :sswitch_12
        0x201e -> :sswitch_10
        0x2020 -> :sswitch_e
        0x2022 -> :sswitch_a
        0x2026 -> :sswitch_c
        0x2030 -> :sswitch_f
        0x20ac -> :sswitch_d
        0x2122 -> :sswitch_11
    .end sparse-switch
.end method


# virtual methods
.method public final Code(C)I
    .locals 2

    iget-object v0, p0, Lf;->J:[B

    invoke-static {p1}, Lf;->I(C)C

    move-result v1

    aget-byte v0, v0, v1

    iget-byte v1, p0, Lf;->I:B

    add-int/2addr v0, v1

    return v0
.end method

.method public final Code(Ljava/lang/String;)I
    .locals 5

    const/4 v2, 0x0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    add-int/2addr v0, v2

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    move v1, v2

    :goto_0
    if-ge v1, v0, :cond_0

    iget-object v3, p0, Lf;->J:[B

    invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C

    move-result v4

    invoke-static {v4}, Lf;->I(C)C

    move-result v4

    aget-byte v3, v3, v4

    iget-byte v4, p0, Lf;->I:B

    add-int/2addr v3, v4

    add-int/2addr v2, v3

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return v2
.end method

.method public final Code([CII)I
    .locals 5

    const/4 v0, 0x0

    add-int v1, p2, p3

    move v2, v0

    move v0, p2

    :goto_0
    if-ge v0, v1, :cond_0

    iget-object v3, p0, Lf;->J:[B

    aget-char v4, p1, v0

    invoke-static {v4}, Lf;->I(C)C

    move-result v4

    aget-byte v3, v3, v4

    iget-byte v4, p0, Lf;->I:B

    add-int/2addr v3, v4

    add-int/2addr v2, v3

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return v2
.end method

.method public final Code(Ljavax/microedition/lcdui/Graphics;Ljava/lang/String;IIII)V
    .locals 11

    invoke-virtual {p2}, Ljava/lang/String;->length()I

    move-result v0

    if-eqz v0, :cond_3

    and-int/lit8 v1, p5, 0x1

    if-eqz v1, :cond_0

    invoke-virtual {p0, p2}, Lf;->Code(Ljava/lang/String;)I

    move-result v1

    shr-int/lit8 v1, v1, 0x1

    sub-int v1, p3, v1

    :goto_0
    and-int/lit8 v2, p5, 0x20

    if-eqz v2, :cond_4

    sget-byte v2, Lf;->Code:B

    sub-int v2, p4, v2

    :goto_1
    invoke-virtual {p1}, Ljavax/microedition/lcdui/Graphics;->getClipX()I

    move-result v3

    invoke-virtual {p1}, Ljavax/microedition/lcdui/Graphics;->getClipY()I

    move-result v4

    invoke-virtual {p1}, Ljavax/microedition/lcdui/Graphics;->getClipWidth()I

    move-result v5

    invoke-virtual {p1}, Ljavax/microedition/lcdui/Graphics;->getClipHeight()I

    move-result v6

    invoke-virtual {p1}, Ljavax/microedition/lcdui/Graphics;->getColor()I

    move-result v7

    invoke-direct {p0, v7}, Lf;->Code(I)V

    const/4 v7, 0x0

    move v8, v1

    move v1, v7

    move/from16 v7, p6

    :goto_2
    if-ge v1, v0, :cond_2

    invoke-virtual {p2, v1}, Ljava/lang/String;->charAt(I)C

    move-result v9

    invoke-direct {p0, p1, v9, v8, v2}, Lf;->Code(Ljavax/microedition/lcdui/Graphics;CII)I

    move-result v9

    add-int v10, v8, v9

    if-le v10, v7, :cond_1

    invoke-static {v7, v3}, Ljava/lang/Math;->max(II)I

    move-result v7

    add-int v9, v5, v3

    sub-int/2addr v9, v7

    invoke-virtual {p1, v7, v4, v9, v6}, Ljavax/microedition/lcdui/Graphics;->setClip(IIII)V

    const v7, 0x7fffffff

    add-int/lit8 v1, v1, -0x1

    :goto_3
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_0
    and-int/lit8 v1, p5, 0x8

    if-eqz v1, :cond_5

    invoke-virtual {p0, p2}, Lf;->Code(Ljava/lang/String;)I

    move-result v1

    sub-int v1, p3, v1

    goto :goto_0

    :cond_1
    add-int/2addr v8, v9

    goto :goto_3

    :cond_2
    invoke-virtual {p1, v3, v4, v5, v6}, Ljavax/microedition/lcdui/Graphics;->setClip(IIII)V

    :cond_3
    return-void

    :cond_4
    move v2, p4

    goto :goto_1

    :cond_5
    move v1, p3

    goto :goto_0
.end method

.method public final Code(Ljavax/microedition/lcdui/Graphics;[CIIIII)V
    .locals 5

    and-int/lit8 v0, p7, 0x1

    if-eqz v0, :cond_0

    invoke-virtual {p0, p2, p3, p4}, Lf;->Code([CII)I

    move-result v0

    shr-int/lit8 v0, v0, 0x1

    sub-int v0, p5, v0

    :goto_0
    and-int/lit8 v1, p7, 0x20

    if-eqz v1, :cond_2

    sget-byte v1, Lf;->Code:B

    sub-int v1, p6, v1

    :goto_1
    add-int v2, p3, p4

    invoke-virtual {p1}, Ljavax/microedition/lcdui/Graphics;->getColor()I

    move-result v3

    invoke-direct {p0, v3}, Lf;->Code(I)V

    move v3, v0

    move v0, p3

    :goto_2
    if-ge v0, v2, :cond_1

    aget-char v4, p2, v0

    invoke-direct {p0, p1, v4, v3, v1}, Lf;->Code(Ljavax/microedition/lcdui/Graphics;CII)I

    move-result v4

    add-int/2addr v3, v4

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_0
    and-int/lit8 v0, p7, 0x8

    if-eqz v0, :cond_3

    invoke-virtual {p0, p2, p3, p4}, Lf;->Code([CII)I

    move-result v0

    sub-int v0, p5, v0

    goto :goto_0

    :cond_1
    return-void

    :cond_2
    move v1, p6

    goto :goto_1

    :cond_3
    move v0, p5

    goto :goto_0
.end method
